Part Number Hot Search : 
YG802C04 05250 PIC16C65 FP2601PL KM416 2SK1520 00LVEL C1317
Product Description
Full Text Search
 

To Download AN1183 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AN1183 APPLICATION NOTE
AUTO-SIZING & AUTO-CENTERING Using TMU Cell from ST72774 Family
by Pascal JANIN & Herve PIERROT - CMG IDD Monitor Application Lab
This Application Note describes how to use the TMU (Timing Measurement Unit) cell which is implemented in the ST72774 family of Monitor-dedicated Microcontrollers. THe TMU cell implementation is reviewed in details on a real monitor chassis, through 2 new features called Auto-Sizing and Auto-Centering.
Note : Along the entire document, T1AV and T2AV are the values returned by the TMU cell.
AN1183/February 7, 2001
Version 1.2
1/53
1
Table of Contents
1 WHY AUTOMATIC SETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 1.2 1.3 User settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Re-adjustments between screen modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Automatic adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 AUTO-ADJUSTMENT BASICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 2.2 2.3 Horizontal centering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Horizontal sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Vertical centering and sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 THE NEW TMU CELL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.1 3.2 3.3 3.4 Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Active video signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Start a measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Limitations and constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.1 Overflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.2 The Active Video signal is too early . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.3 The Active Video signal is too late . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.4 Unstable picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4.5 Measurement-resolution limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 HARDWARE AND SOFTWARE IMPLEMENTATION IN A REAL MONITOR 4.1 4.2 4.3 15
H/W and S/W prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Overall S/W behaviour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Horizontal autocentering (HPOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.3.1 Successive Approximations Algorithm . . . . . . . . . . . . . . . . . . . . . . . . 18 4.3.1.1 Computation time : How to keep it minimum . . . . . . . . . . . . . . . . . 18 4.3.1.2 Measurements of T1AV/T2AV and preliminary tests . . . . . . . . . . . 18
4 4.3.1.3 UPDOWN flag setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3.1.4 HPOS setting update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2/53
1
4.3.1.5 Avoid "never-ending" loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.3.1.6 Complete HPOS algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.3.2 Measurements & Computation Algorithm . . . . . . . . . . . . . . . . . . . . . . 22 4.3.2.1 First measurement : rough centering . . . . . . . . . . . . . . . . . . . . . . . 22 4.3.2.2 Second measurement : left shift . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3.2.3 Third measurement : right shift . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3.2.4 Optimum centering computation . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4 Horizontal autosizing (HSIZE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4.1 Horizontal deflection formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.4.2 Amplitude formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.4.3 Operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.4.4 Optimum HSIZE setting formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.4.5 Measurement of Td' and T' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.4.6 Additional compensation parameter . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.4.7 Final HSIZE formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4.4.8 Software implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4.5 Vertical autocentering/autosizing (VPOS, VSIZE) . . . . . . . . . . . . . . . . . . . 31 4.5.1 Vertical sawtooth formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.5.2 VSIZE setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.5.3 VPOS setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.5.4 Complete vertical formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.5.5 Reference timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.5.6 Operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.5.7 Integer formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.5.8 Software implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 5 SET-UP & MEASUREMENTS INSIDE THE MONITOR . . . . . . . . . . . . . . . . . . 39 5.1 Horizontal centering (HPOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 5.1.1 The picture is shifted too far to the left . . . . . . . . . . . . . . . . . . . . . . . . 39 5.1.2 The picture is shifted too far to the right . . . . . . . . . . . . . . . . . . . . . . . 39
3/53
5.1.3 The picture is perfectly centered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 5.2 Horizontal sizing (HSIZE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 5.2.1 Measurement presets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.2.2 Current-amplitude measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.2.3 Amplitude-measurement of AVopti . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.2.4 Measurements of HAMPMIN and HAMPMAX . . . . . . . . . . . . . . . . . . 42 5.3 Vertical centering/sizing (VPOS/VSIZE) . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6 END-USER INTERFACE : FINAL TIPS AND FINE-TUNING . . . . . . . . . . . . . 45 6.1 6.2 Pictures that work best . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 End-user fine-tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.2.1 Optimum HAMP size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 6.2.2 Optimum VPOS and VSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 7 ANNEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4/53
AUTO-SIZING & AUTO-CENTERING
1 WHY AUTOMATIC SETTINGS
1.1 User settings Every computer display provides adjustments called user settings allowing the users to adjust the picture being displayed according to their taste. If these user settings cover the usual brightness and contrast, they also also allow other modifications such as:
n n n n
picture size & position (both horizontally and vertically) screen geometry (edges, corners, tilt..) colour temperature OSD language, etc..
For that purpose, some keys (and/or rotary knobs) are provided on the front of the screen : Figure 1. Manual Adjustment Keys
Depending on the model of computer display, different sets of adjustment keys are available
< > + - OK M
The user needs to go through several menus and submenus (commonly displayed on screen) to adjust all the needed parameters. This adjustment procedure is fast and convenient, as there are very few keys available with multiple functions assigned per key. 1.2 Re-adjustments between screen modes Among all, size and position adjustments are often required when switching between video modes: some softwares (mostly games) swap video modes, for example from classic VGA 640x480 pixels to higher resolution 1280x1024 pixels, allowing the display of sharper and larger graphics with more colours. When changing from one video mode to another, the microcontroller inside the computer display analyzes the new incoming video synchro signals HSYNC and VSYNC, computes their frequencies, and then proceeds to all the necessary internal adjustments. The new picture is displayed in a proper way.
5/53
2
AUTO-SIZING & AUTO-CENTERING
However, the picture itself is rarely (even never) fine-tuned to fit best the real CRT size. The final result is a picture framed in black : large black borders "surround" the real picture, which is therefore shrunk in size and/or not centered. Those black borders represent a waste of display area : they do not display any picture but black. Figure 2. Resizing / Repositioning the Picture
The displayed picture is much smaller than the actual CRT size, but also shifted to the left : ungraceful black borders appear
Using the key panel, the user adjusts the picture both in size and position to get the best picture
< > + - OK M
< > + - OK M
The user then has to re-adjust manually the screen size & position to minimize those borders and get the best sized and centered picture on screen. As this re-adjustment is done by using the control keys, it is most laborious for the user. Even though most of the computer displays register the video modes already sensed, each new mode requires re-adjusments. Furthermore, certain modes already sensed may not always fit in with all softwares using this mode, making repeated re-adjustments necessary. 1.3 Automatic adjustments With the TMU cell, the displayed picture can now be analyzed. Adjustments in size and position, horizontally and vertically are available through the use of a unique user key, at each video mode change. This makes adjustments easier for the user. Figure 3. Unique "AUTO" Key
The same unadjusted picture can now be resized and repositionned.. ..thanks to a unique user key
< > + - OK M
A < > + - OK M
6/53
AUTO-SIZING & AUTO-CENTERING
2 AUTO-ADJUSTMENT BASICS
A total of 4 different parameters need to be adjusted to obtain the best possible displayed picture on screen :
n n n n
horizontal position horizontal size vertical position vertical size
Each of them requires specific handling and is treated separately. 2.1 Horizontal centering To determine whether a given picture is well centered on screen, the time is measured between :
n n
the beginning of an hozirontal scan line and the left border of the REAL picture (T1 AV) the right border of the REAL picture and the end of an horizontal scan line (T2AV)
The beginning and the end of a scan line are delimited by the Horizontal Flyback pulse, HFBACK. These positive pulses are issued to send the raster back to the beginning of the next scan line. Therefore the falling edge of the pulse coincides with the beginning of the scan line, while its rising edge coincides with the end of the scan line. Figure 4. HFBACK Signal VS Displayed Picture
left left border
1 HORIZONTAL LINE OF THE PICTURE
right border
HFBACK T1AV T2AV
A quick comparison between T1 and T2 indicates how the picture is displayed :
n n n
T1AV < T2AV : the picture is shifted too far to the left and needs to be moved rightwards T1AV = T2AV : the picture is perfectly centered T1AV > T2AV : the picture is shifted too far to the right and needs to be moved leftwards
7/53
AUTO-SIZING & AUTO-CENTERING
2.2 Horizontal sizing In the case of horizontal sizing, the HFBACK pulse is useless because the time between 2 consecutive pulses remains the same, regardless of the width of the displayed picture: the size cannot be estimated that way. A thorough study of the entire horizontal deflection stage allows the determination of the raster scanning curve. Usually, it is very difficult to determine a real mathematical equation for that curve. Actually, the horizontal deflection stage is not generated by a dedicated circuit but by several discrete components. Furthermore, many coils (deflection, linearity..) and capacitors (S-correction..) are turned on and off depending on the horizontal frequency of the displayed picture, to compensate for the intrinsic limitations of the CRT. A curve model can be estimated only for a given frequency range. Figure 5. Horizontal Raster Scan
HFBACK
left border
1 HORIZONTAL LINE OF THE PICTURE
right border
T1AV
raster scan
IHyoke
T2AV
Imax I2
current through horizontal deflection yoke
A I1 Imin
B
8/53
AUTO-SIZING & AUTO-CENTERING
2.3 Vertical centering and sizing Again, the horizontal centering principle does not apply to the Vertical Flyback pulse VFBACK because:
n
The time between the top & bottom of the screen raster and the VFBACK pulses remains constant, regardless of the vertical position of the displayed picture : the centering cannot be estimated that way The time between 2 consecutive VFBACK pulses remains the same, regardless of the height of the displayed picture : the size cannot be estimated that way either
n
A thorough study of the entire vertical deflection stage is needed to determine a mathematical equation for the raster deflection curve. Thankfully, most datasheets for deflection processors (such as TDA 9109 from STMicroelectronics) used in the monitor circuitry present the precise curve of the vertical deflection outputs (sawtooth) driving the vertical yoke. Figure 6. Vertical Sawtooth
bottom of the screen bottom T2AV
raster scan
VPOS offset
VSIZE ampli-tude T1AV top
top of the screen T1AV T2AV
VFBACK
Note: picture flipped upside-down to match raster scan
Once this curve is determined, the influence of the user settings VSIZE and VPOS over the curve needs to be computed. Those parameters are usually adjusted through I2C bus commands sent from the microcontroller to the deflection processor. Finally, this leads to an equation defining the sawtooth voltage output as a function of :
n n n
time (and vertical frequency) VSIZE and VPOS settings parameters T1AV and T2AV related to the displayed picture (as shown on Figure 6)
9/53
AUTO-SIZING & AUTO-CENTERING
3 THE NEW TMU CELL
3.1 Principle The purpose of the Timing Measurement Unit is to measure the time values T1AV and T2AV allowing all the adjustments described above ; T1AV and T2AV depend on the displayed picture:
n
T1AV is the time between the falling edge of the signal (synchro or flyback) and the very first non-black pixel of the picture : this measures the duration of the left (H) or top (V) black border T2AV is the time between the very last non-black pixel of the picture and the rising edge of the signal (synchro or flyback) : this measures the duration of the right (H) or bottom (V) black border
n
For a more detailed description of the cell, please refer to the corresponding TMU chapter in the ST72774 datasheet. 3.2 Active video signal In order to distinguish between the displayed picture and the black borders surrounding the picture, an external signal called ACTIVE VIDEO (AV) is supplied to the TMU cell :
n
AV is high (active) when any non-black pixel of the picture is displayed, that is when any of the three R G B colour signals is higher than the black level AV is low when no picture is displayed (nothing but black), that is when all three RGB colour signals are at black level
n
Figure 7. External AV Signal Generated over one Horizontal Line
left border 1 HORIZONTAL LINE OF THE PICTURE right border
HFBACK or HSYNC AV SIGNAL
T1AV
T2AV
Note: AV signal toggles between black and non-black pixels
The AV signal is therefore a simple OR a combination of three comparator outputs :
10/53
AUTO-SIZING & AUTO-CENTERING
Figure 8. Simple AV Signal Generation
R + + + Black Level
G
AV OUT
B
Another way to generate the AV signal is to use the video controller TDA 9209 from STMicroelectronics. It has a built-in AV signal generator (up to 100MHz pixel clock) which is enabled/ disabled by means of simple I 2C commands. 3.3 Start a measurement A simple step-by-step procedure starts a given measurement: 1 Select reference signals: the measurements are either based on synchro signals HSYNC and VSYNC, or on flyback signals HFBACK and VFBACK. Selection is made with a bit FLY_SYN (#6) found in MISCR register Select HORIZONTAL or VERTICAL signal : bit H_V (#1) of TMUCSR register Start the measurements : this is done by setting bit START (#0) of TMUCSR register Wait for measurements completion: wait until bit START (#0) is back to zero
2 3 4
The 11-bit values of T1 AV and T2 AV can then be read from registers TMUCSR, TMUT1CR and TMUT2CR.
11/53
AUTO-SIZING & AUTO-CENTERING
Figure 9. Measurement Flow
Select SYNCHRO or FLYBACK signal: set or reset bit 6 FLY_SYN from MISCR register Select HORIZONTAL or VERTICAL measurements: set or reset bit 1 H_V from TMUCSR register
SET bit 0 START from TMUCSR register
bit 0 START = 0 ? YES
NO
Measurements completed Results available in TMUCSR, TMUT1CR, TMUT2CR
3.4 Limitations and constraints 3.4.1 Overflow If T1AV and T2AV values exceed the maximal value of 7FFh (2^11 - 1), an overflow occurs. In that case, the returned value will be 7FF h. This happens when the displayed picture is unusually small (very few pixels in size), like a DOS window with only "C:>" prompt. 3.4.2 The Active Video signal is too early If for any reason, the first rising edge of the Active Video signal occurs BEFORE the falling edge of the reference sync signal, the returned value for T1AV is 1. This happens while performing an horizontal measurement, when the reference signal is HFBACK and the picture is shifted too far to the left. In that case, it is advised to use HSYNC as reference instead of HFBACK. 3.4.3 The Active Video signal is too late If for any reason, the last falling edge of Active Video signal occurs AFTER the rising edge of the reference sync signal, the returned value for T2 AV is the low level duration of the signal pulse (time between the falling and rising edges) : see the note below. This happens while performing an horizontal measurement, when the reference signal is HFBACK and the picture is shifted too far to the right. In that case, it is advised to use HSYNC as reference instead of HFBACK.
12/53
AUTO-SIZING & AUTO-CENTERING
Figure 10. Unusual AV Signals
Returned value for T1AV is 1 HFBACK Example 1 1 HORIZONTAL LINE OF THE PICTURE
HSYNC AV SIGNAL
HFBACK Example 2 Returned value for T2AV is HFBACK low level duration (see Note 1)
Note 1:The returned value for T2AV is fixed by design and may change to 1 in the future.
3.4.4 Unstable picture In case of a notably unstable picture, for example due to noise or when displaying an object in motion on a black background, the returned values for T1AV and T2AV do not remain constant across several consecutive frames. For obvious reasons, autocentering and autosizing cannot be performed on pictures which are always moving on screen. It is therefore strongly advised to perform at least TWO consecutive measurements based on the same reference sync signal, then to decide not to do any further adjustment if the measurements differ by more than a given margin. Experiments showed that a margin of 5 clock pulses seemed safe enough.
13/53
AUTO-SIZING & AUTO-CENTERING
Figure 11. TMU Measurement Flow (including error checking)
see previous flowchart
Start 1st set of measurements Wait until it is completed Store 1st set Start 2nd set of measurements Wait until it is completed Store 2nd set
see previous flowchart
absolute difference between 1st and 2nd sets greater than margin ? NO
unstable picture redo measurements YES
unusable AV signal or too small picture cannot be adjusted T1AV and/or T2AV greater than 7FFh ? NO Displayed picture seems fine Proceed with adjustments 3.4.5 Measurement-resolution limitation The values of T1AV and T2 AV are 11-bit multiple of one internal clock period (either 41ns or 83ns, depending on the external XTAL following the oscillator clock fosc). A simple example shows that, in very high resolution modes, it covers many pixels at a time:
n n n n
YES
example video mode : 1280 x 1024, fV = 74.112Hz, fH = 78.855kHz horizontal scan line : total time = 1/fH = 12.681s, active video time = 9.481s 1280 horizontal pixels in 9.481s corresponds to 1 pixel every 7.4ns TMU resolution at maximum speed (fosc = 24MHz): 41ns == roughly 5 pixels step
In that case, the best horizontal measurement precision of the TMU cell will be 5 pixels. It is therefore strongly advised to use an external XTAL of the highest possible frequency, to obtain the finest resolution when doing measurements with the TMU.
14/53
AUTO-SIZING & AUTO-CENTERING
4 HARDWARE AND SOFTWARE IMPLEMENTATION IN A REAL MONITOR
4.1 H/W and S/W prerequisites The monitor that we chose for our tests was the "KM751", a 17-inch CRT monitor display from Taiwanese manufacturer SAMPO. STMicroelectronics developped the whole software in partnership with SAMPO, in assembly language, for the ST72752 MCU. The first step was to rewrite this software (and slightly work on the hardware around) to fit with the new ST72774 MCU. In a second step, a small additional PCB was designed to generate the required Active Video signal : this extra piece of hardware featuring the TDA 9209 is mounted on the rear PCB at the back of the CRT, where all necessary signals are found (R G B and HFBACK) then passed on to the remote MCU. Figure 12. ST72774 and TDA9209 inside the SAMPO Monitor
old ST72752 HFBACK ST72774 TDA 9209 (see Note 1) 4-wire cable AV HFBACK key (n.c.) HSYNCO HSYNCI AV 68pf (see Note 3) PCB mounted on rear CRT PCB R G (see Note 2) B
HFBACK HSYNCO AV
+5V GND
PCB adaptor on main PCB
Note 1: The TDA9209 requires 3 compulsory I2C commands to configure its Active Video feature: [S DCh 0Dh 8Fh P] to enable the AV output, then [S DCh 08h 90h P] to configure the blanking signal, and finally [S DCh 02h 00h P] to set the brightness register to zero. Note 2: Used in this configuration (the chip not being implemented in the whole chassis but only as an add-on), the TDA9209 generates a bad AV signal when its Green input conveys a Sync-On-Green signal. This input should therefore be tied to ground for more reliable performance.
The original "RECALL" key has been slightly diverted : once pressed, when no menu is being displayed, it runs all the autosizing & autocentering routines. A message is then displayed while the adjustments take place. The displayed picture is also moved around during this time, this is a temporary but normal behaviour. If the picture does not meet all the autoadjustment criterions (cf Section 3.4 Limitations and constraints), because it is unstable, in motion, too small to adjust, or it makes the adjustments fail for any possible reason, both former position & size settings will be restored.
15/53
AUTO-SIZING & AUTO-CENTERING
Figure 13. Autoadjustment Flow (User Side)
MANAGEMENT ROUTINES (left untouched)
YES Completed ? NO
Key "RECALL" pressed ? (outside menu)
NO
YES Make T1 AV/T2AV measurements YES Any problem ? NO Compute then make adjustments Restore original values
NO Any problem ?
YES
4.2 Overall S/W behaviour The S/W operates with the successive actions : 1 2 3 4 5 6 detect if the key "RECALL" has been pressed start with HPOS (horizontal centering) adjustment proceed with HSIZE adjustment (horizontal sizing) proceed with both VPOS/VSIZE (vertical centering & sizing) adjustments store the final adjusted parameters into monitor EEPROM, so that every time the same video mode is displayed, it comes up already auto-adjusted in case of any error, initial values for HPOS/HSIZE and VPOS/VSIZE settings are restored, autoadjustment routines are aborted, and normal screen operation resumes
16/53
AUTO-SIZING & AUTO-CENTERING
Theoretically, the 4 different adjustments are made in any order. However, it is advised to start with horizontal centering (HPOS), because a well-centered picture gives better results for horizontal sizing (HSIZE). The other reason for our choice was a logical order, from the easiest to implement (HPOS) to the most complicated one (HSIZE and VPOS/VSIZE). Figure 14. Overall S/W Flow START Measure Horizontal T1 AV/T2AV Compute/Make HPOS Adjustment if any error Measure Horizontal T1AV/T2AV Compute/Make HSIZE Adjustment if any error Measure Vertical T1AV/T2 AV Compute/Make VPOS/VSIZE Adjustments if any error
Store final values into EEPROM Completed, Exit
Restore values Error, Exit
4.3 Horizontal autocentering (HPOS) Horizontal autocentering is the simplest adjustment to implement because the position of consecutive HFBACK pulses against the AV signal changes with HPOS setting. There are actually two ways to perform horizontal centering :
n
One that runs a recursive algorithm which achieves the centering by successive approximations. It works in all cases but is slow by nature. One that performs 3 measurements of T1 and T2 then computes the final centering setting. It is extremely fast but may not work in all cases.
n
Those two algorithms, with their pros and cons, will be discussed respectively in Section 4.3.1 and Section 4.3.2.
17/53
AUTO-SIZING & AUTO-CENTERING
4.3.1 Successive Approximations Algorithm The screen is first shifted to a medium horizontal position, then shifted to the left or to the right step by step, by incrementing or decrementing the horizontal position setting, according to the difference between T1 and T2. 4.3.1.1 Computation time : How to keep it minimum Before making the proper adjustment, the time required to adjust the picture must be taken into consideration. The following example is studied in details : VGA mode 640x480 pixels, fV=60Hz, fH=31.5kHz. Each measurement pass takes 2 vertical synchro pulses (as stated in the TMU cell datasheet) to complete. Considering fV=60Hz, this time is about 17ms. T1AV then T2AV are measured. Another measurement pass is then performed (cf Section 3.4). This means that for 2 consecutive HPOS adjustments, it takes about 34ms at fV=60Hz. On the SAMPO screen, the HPOS setting varies between 0 (leftmost) and 127 (rightmost), which makes 128 steps in total. The average setting to get an approximately centered picture in all video modes is half of the maximum value, 64. If the picture is completely shifted outside the screen to the left or to the right, an average of 64 HPOS setting steps (half of the total HPOS range) is needed to shift the picture towards the appropriate direction. Each step lasting 34ms, the total adjustment process may take about 64x34 = 2.2 seconds. To decrease this duration, the HPOS setting is advised to be preset to its half-range value (64 in this case) before doing any adjustment. That way, the picture is already roughly centered, or at least not shifted too far from the center of the screen. Therefore, only a few further steps are needed to center the picture perfectly. 4.3.1.2 Measurements of T1AV/T2AV and preliminary tests A 1st set of T1AV/T2 AV measurements is made, followed by a 2nd set. Both sets are then compared to each other: if their absolute difference is greater than a fixed value (TMUDIFF), the picture is considered to be unstable or in motion, therefore the routine exits and restores the original HPOS value. The routine also aborts if T1AV and/or T2AV value equals the maximum value (7FFh) meaning the picture is too small to be adjusted, or the AV signal is wrong. For the complete algorithm, refer to Figure 11
Note : The above preliminary tests are common to all adjustments.
4.3.1.3 UPDOWN flag setting For the very first set of measurements, T1AV is compared to T2AV to determine the adjustment of the picture position, as described in Section 2.1:
18/53
AUTO-SIZING & AUTO-CENTERING
n
if T1 AV < T2AV, the picture is already shifted to the left and needs to be moved rightwards; this means increasing the actual HPOS setting (up to 127 max); UPDOWN flag =0 if T1AV >T2AV, the picture is already shifted to the right and needs to be moved leftwards; this means decreasing the actual HPOS setting (down to 0 min); UPDOWN flag =1
n
This flag is kept in memory: it indicates which way the HPOS setting must be modified (incremented or decremented). It is not modified anymore. 4.3.1.4 HPOS setting update From now on and until the picture is considered adjusted, the S/W performs different tests and actions depending on the value of the UPDOWN flag described previously:
n
UPDOWN = 0: check if T1 AV is still < T2AV - yes: increment HPOS and update setting - no: the picture is now centered because last HPOS step made T1AV > T2AV (opposite from initial condition)
n
UPDOWN = 1: check if T1 AV is still >T2AV - yes: decrement HPOS and update setting - no: the picture is now centered because last HPOS step made T1AV < T2AV (opposite from initial condition)
If either answer was "yes", the routine loops back to the 1st and 2nd sets of T1AV/T2 AV measurements at the very beginning. Otherwise, the picture is now assumed to be centered, the routine is completed.
Note : A short delay is necessary for the screen to take the setting update into account. This is due to the normal latency of the internal monitor circuitry when there is a change in any setting. A delay of 10ms was tested to give good results. This also applies to preliminary HPOS preset (refer to Section 4.3.1.1).
4.3.1.5 Avoid "never-ending" loops Every time HPOS setting is modified, a counter is incremented then compared to a maximum number of iterations (TMURETRY). If the counter exceeds this maximum number, the routine, which is then unable to adjust HPOS, restores the original setting and aborts. This is an additional safety measure against possible infinite loops within the routine. 4.3.1.6 Complete HPOS algorithm Called from the main loop whenever the "RECALL" key is pressed, the HPOS adjustment loop shows two normal exit conditions (when the picture is found centered on screen) and three abnormal exit conditions (when the picture is not stable, unusable, or cannot be adjusted within a given number of trials).
19/53
AUTO-SIZING & AUTO-CENTERING
Figure 15. Complete HPOS algorythm
from next page
M A IN C AL L C O N T IN U E FROM LOOP
1 s t s e t o f m e a s u re m e n ts H o r iz o n t a l : T 1 - > H B E G , T 2 - > H E N D V e r t ic a l : T 1 - > V B E G , T 2 - > V E N D
HPOS or HSIZE VPOS or VSIZE HPOS or HSIZE VPOS or VSIZE
2 n d s e t o f m e a s u re m e n ts H o r iz o n t a l : T 1 - > H B E G _ tm p , T 2 - > H E N D _ tm p V e r t ic a l : T 1 - > V B E G _ tm p , T 2 - > V E N D _ tm p
C o m p a r e 1 s t s e t to 2 n d se t (T E M P )
A b s o l u te d if f e r e n c e > T M U D IF F ? NO
YES
P ic t u r e not s t a b le : Q U IT U n u s a b le or bad A V s ig n a l : Q U IT
NO
T 1 = 0 x7 F F a n d T 2 = 0 x7 F F ?
YES
F ir s t tim e ?
YES T1 < T2 T1 > T2 C o m p a re T1 and T2 ?
NO
P ic tu r e s h if te d le f t : w ill m o v e r ig h t
T M U F L A G .U P D O W N = 0
P ic tu r e s h if te d r ig h t : w il l m o ve l e f t
T M U F L A G .U P D O W N = 1
NEXT P AG E
to top of next page
T1=T2
P ic t u r e a lr e a d y c e n te re d : Q U IT
20/53
AUTO-SIZING & AUTO-CENTERING
Figure 16. Complete HPOS algorythm (continued)
PR EVIOU S PAGE
NO
T M UFLAG .U PD O W N =1?
Y ES
NO
T1 < T2 ? Y ES Picture shifted left : (H POS setting) +1
T 1=T 2
T 1=T 2
T1 > T 2 ? Y ES
NO
Picture perfectly centered : QU IT
Picture shifted right : (H POS setting) -1
Increm ent num ber of trials counter T1 > T2 Exceeds m axim um trials allowed ? T1 < T2
NO LOOP R ESU MES T O T OP
Y ES
to top of previous page
One step too m uch : (H POS setting) -1 Picture centered : QU IT
C ould not adjust : QU IT
O ne step too m uch : (H POS setting) +1
21/53
AUTO-SIZING & AUTO-CENTERING
4.3.2 Measurements & Computation Algorithm Three measurements are performed to estimate the optimum value and the max/min for T1=T2, then the final horizontal position setting is computed by extrapolation.
4.3.2.1 First measurement : rough centering As in Section 4.3.1.1, the HPOS setting is first preset to its half-range value which should roughly center the displayed picture. This is enough to measure T1 and T2 then compute the average of the two :
( T1 + T2 ) T2 opti = ----------------------2
This average value T2opti is the optimum T1=T2 to achieve for optimum horizontal centering, since the sum of back and front porches (T1+T2) remains constant across one line, no matter how shifted the line is.
Important Note : if the first measurement returns a bad (out of range) value for T1 and/or T2, due to the fact that a medium value for HPOS setting may not always put the displayed picture right between 2 consecutive HFLYBACK pulses, the final computed HPOS value will be completely wrong. For that matter, it is safer to use HSYNC as reference signal instead, and the displayed picture is then guaranteed to always fit between 2 consecutive HSYNC pulses.
4.3.2.2 Second measurement : left shift Next, the HPOS setting is set to its minimum value (usually 0) so that the displayed picture is completely shifted to the left. As such, the newly measured T2max is the maximum achievable value for T2 (front porch maximum). 4.3.2.3 Third measurement : right shift Next, the HPOS setting is set to its maximum value (usually 100 or 255) so that the displayed picture is completely shifted to the right. As such, the newly measured T1max is the maximum achievable value for T1(back porch maximum). 4.3.2.4 Optimum centering computation Next, the optimum horizontal centering setting HPOS is computed by linear extrapolation from T2 opti, T2max and T1 max which were obtained at previous steps. Considering that (T1+T2) remains constant, from T1max we can compute ::
T2 min = T1 max - ( T1 + T2 )
22/53
AUTO-SIZING & AUTO-CENTERING
Then considering that T2 is maximum (=T2 max ) for HPOS=0 and minimum (=T2 min ) for HPOS MAX, we can do a linear extrapolation to compute the optimum horizontal centering value HPOS for T2=T2 opti as computed in Section 4.3.2.1 above :
HPOS T2 opti = T2 max - ( T2 max - T2 min ) x ----------------------HPOS max
Reversing the formula gives HPOS from T2opti :
T2 max - T2 opti HPOS = ---------------------------------- x HPOS max T2 max - T2 min
4.4 Horizontal autosizing (HSIZE) The horizontal spot deflection is based on the principle of a variable current flooding through the horizontal deflection coil (since a magnetic field inside a coil is proportional to the current running through it). But this is also the most intricate parameter to compute as:
n n n
there is no on-chip fixed waveform generated by any deflection processor circuit the horizontal deflection current waveform is very complex (by nature) the shape of the sawtooth current waveform changes as the horizontal frequency varies with the addition/removal of various coils and capacitors in serial and/or parallel with the horizontal deflection coil (in order to make some corrections)
Figure 17. Horizontal Deflection Curve
Line begins current
IHyoke
Line ends
Imax I2
Nominal Amplitude HAMP One full line
A I1 Imin
One full line
B
time
23/53
AUTO-SIZING & AUTO-CENTERING
4.4.1 Horizontal deflection formulas According to preliminary measurements, the overall amplitude of a line, HAMP, varies with the horizontal frequency fH of the video mode being displayed, but also with HSIZE setting. Moreover, certain adjustments are made by S/W by range of horizontal frequencies. This is needed for linearity and S-correction reasons, to name a few. Therefore, a first step is to find a relationship between fH and the measured amplitude of the current H AMP for each range of horizontal frequencies. This leads to several different formulas:
H
AMP
= f( F ) H
This relationship is first assumed to be linear, in the form of (ax+b). This makes later computations much easier to implement, but it requires some corrections that are discussed later on. The next problem is that the above formula does not remain constant as HSIZE setting itself varies between its minimum HSIZE=HMIN (shrunk line) and maximum HSIZE=HMAX (enlarged line) values : linear factors "a" and "b" appear to vary linearly with HSIZE setting. In a 2nd step, a separate formula should then be established for each of the 2 extremum HSIZE values above:
H AMPMIN = f ( F H )
..and :
HSIZE=H MIN
H
AMPMAX
= f( F ) H HSIZE=H MAX
In the case of SAMPO monitor, HSIZE setting adjusts PWM output #2 (signal DA2 pin 2 of ST72752), therefore HMIN=0 and HMAX=255. Assuming that HAMP varies linearly along with HSIZE setting, the 2 above formulas can be interpolated to give one single linear formula :
H
.. and finally:
AMP ( HSIZE )
= f ( F ,HSIZE ) H
24/53
AUTO-SIZING & AUTO-CENTERING
Figure 18. Horizontal Amplitude, function of HSIZE setting
HSIZE HAMP ( HSIZE ) = H AMPMIN + ( HAMPMAX - HAMPMIN ) x -----------------------------HSIZE MAX
Note : There is one HAMP(HSIZE) = f (fH) formula for each range of horizontal frequencies.
This curve is an example of H AMPMIN=f(fH) on a SAMPO monitor, in fH= [34kHz...41kHz] range :
n n
x is fH (in kHz) y is HAMPx10mA (measured with a 10mV/mA current clip probe) R is the linear regression factor, very close to 1 ( = almost perfect linear interpolation)
1085 1080 1075 1070 1065 1060 1055 1050 34 39 y = -5.22x + 1265.1 R2 = 0.9979
XY (Scatter) 1 Linear (XY (Scatter) 1)
n
Note: refer to Section 7 ANNEX for all SAMPO curves
4.4.2 Amplitude formulas The above HAMP formula computes the total (nominal) amplitude of one scan line. However, this nominal amplitude must be "scaled down" to compute the line amplitude of the real picture (during active video) : AV. AV can be expressed as a fraction of the total line amplitude HAMP scaled by the ratio between the active video line time Td (real picture only, without black borders) and the total line duration T:
T d ----- A =H x V AMP T
HAMP being the total picture line size, the "active" line amplitude decreases as the black borders of the picture increase ( Td << T ). Conversely, as the "active" line size gets larger and closer to the nominal line amplitude, its amplitude increases ( Td ~= T ). 4.4.3 Operating mode A given video mode is displayed. This reference picture is adjusted to best fit the screen horizontally (smallest possible left/right black borders), and its optimum current amplitude AVopti corresponding to the scan line is measured with a scope.
25/53
AUTO-SIZING & AUTO-CENTERING
This AVopti becomes the reference-optimum-amplitude to reach in all video modes. It is expected to remain constant over all fH ranges : a certain constant amount of current applied to the deviation coil sweeps a constant scan line area on screen.
n
In case of SAMPO monitor : AVopti measured = 1130 (x10mA, see example in Section 4.4.1).
When a new video mode is displayed, its new Td and T values must be measured. Then its overall amplitude HAMP' needs to be adjusted so that its AV amplitude AV'coincides with the reference-optimum amplitude AVopti measured previously:
Td A V = A Vopti = H x ------- AMP T
finally: Figure 19. Horizontal Amplitude, function of T' and Td'
H
AMP
=A
Vopti
Tx ------- T d
HAMP' depending on fH and HSIZE setting, it is now easy to reverse the formula in Section 4.4.1 and get the new HSIZE' setting to obtain the best fitted picture. 4.4.4 Optimum HSIZE setting formula Equalizing the two HAMP formulae established in Figure 18 and Figure 19 leads to the following formula expressing HSIZE setting value as a function of all the other relevant parameters : Figure 20. Optimum HSIZE Setting Formula
TA ------- Vopti x T - H AMPMIN d HSIZE = ------------------------------------------------------------------------- x HSIZE MAX HAMPMAX - HAMPMIN
Given AVopti measured = 1130.
26/53
AUTO-SIZING & AUTO-CENTERING
4.4.5 Measurement of Td' and T' Those 2 values are measured with the TMU cell. Figure 21. All Horizontal Parameters of a Scan Line
Begin of line +400ns Horiz. Flyback current End of line -200ns
Imax IHyoke I2
T1AV
T2AV
A I1 Imin
B
Td Active display time time
One full displayed line total horiz. period T
On the sawtooth curve :
n n n n n
T1AV is the leftmost black border (before the displayed picture) T2AV is the rightmost black border (after the displayed picture) Td is the active display time (during which a picture is really displayed) Tflyback is the horizontal flyback time T is the total period of one horizontal line
In order to report them into the formula from previous Section 4.4.3 , Td' and T' are calculated as follows:
T = T - (T +T +T ) d 1AV 2AV FLYBACK
and :
T = T -
Tflyback is constant (except at fH > 90kHz) and equal to 3s.
27/53

3.6s in total
( T FLYBACK + 200ns + 400ns )
AUTO-SIZING & AUTO-CENTERING
As shown in Figure 21, "safety margins" of 200ns and 400ns are set before and after the flyback pulse respectively. This is due to the slew rate of the coil's current curve I=f(t) which is not sharp around the flyback rising and falling edges, in addition to some ringing. Consequently, the measurement of the most precise flyback duration is very inaccurate, therefore this "fuzzy" area is excluded from the measurement in all video modes. 4.4.6 Additional compensation parameter In Section 4.4.1, the HAMP current curve was assumed linear to make all the computations easier. In pratice, with the formula given in Figure 20 the calculated HSIZE values are too high and tend to enlarge the picture beyond the horizontal CRT size. Figure 22. S-shaped Current Curve VS Straight Line (linear)
maximum slope near center of "S" current assumed linear curve
Imax IHyoke I2
A I1 Imin
B
time
The current deflection curve is not linear but S-shaped. Therefore, a relatively small picture, whose initial amplitude slope across a line is closer to the "S" curve than to a straight line, is enlarged more than needed. The formula shown in Figure 18 must then be multiplied by a factor proportional to the Td/T ratio. Experiments on several SAMPO monitors showed that the most fitted factor was :

original formula
TA x ------- * Vopti T d

correction factor
T d 1 - ------- T- 1 - ---------------- 2.8
28/53
AUTO-SIZING & AUTO-CENTERING
n
If Td is close to T, Td/T is close to 1 : the picture is nearly optimum (near the actual size of the CRT), so there is less need of a correction, the above factor is close to 1 (no effect) If Td << T, Td/T is close to 0: the current amplitude is close to the center of the S-shaped curve which slope is at its maximum, the above factor is minimum (1 - 1/2.8) = 0.64
1.8T + Td ... * ------------------------- 2.8 T
n
Note : This correction factor is written in a stricly identical manner:
4.4.7 Final HSIZE formula Once the correction factor is fed into the formula from Figure 20, we have: Figure 23. Final HSIZE Setting Formula
1.8T + Td A Vopti * --------------------------- - H AMPMIN 2.8Td HSIZE = -------------------------------------------------------------------------------------------- x HSIZE MAX HAMPMAX - HAMPMIN
Given AVopti measured = 1130.
4.4.8 Software implementation The result of all computations is restricted to unsigned 32-bit wide integer variables (long int type in C language). This is done by using 16-bit unsigned integer parameters. Care must be taken to avoid overflows and loss of precision. For example, any division with a result < 1 must be avoided. Instead, the numerator should be the highest possible number, and the denominator the smallest, to minimize the rest (hence the yyyy part of the xxxx.yyyy result which, being integer, is ignored). For this reason, several parameters from the numerator of a division are multiplied by a factor of 256. In the HSIZE formula, the final result of the division in Figure 23 is a [0..1] factor of HSIZEMAX =255. Therefore, all the parameters from the numerator in Figure 23 are multiplied by 256, then added or substracted as needed.
Note : Values taken from the reference picture are underlined.
29/53
AUTO-SIZING & AUTO-CENTERING
The current implementation for HSIZE is then: 1 2 3 Compute Tx256 - (T flyback+200ns+400ns)x256 Compute T'x256 = [1] x9 /5 = [1] x1.8 and store it Compute (T1AV + T2AV)x256, then /24 and store it The result is divided by 24 because T1 AV and T2AV are expressed in fCPU pulses (1/ 24MHz) so they must be converted to micro-seconds (x1E6/24E6 == /24) Compute Tx256 - Tflybackx256 Compute Td'x256 = [4]-[3] then store it Compute (1.8T'+Td')x256 = [2]+[5] Compute [6]x(AVopti/2.8) Compute [7]/[5] then store it Compute fHx256 = 1000x256x256/(Tx256), the result is in kHzx256
4 5 6 7 8 9
10 Load "Ax100" multiplier from COEFF1A Rom Table, compute [9]x(A*100) 11 Compute [10]/100 and store it 12 Load "Bx256" factor from COEFF1B Rom Table A and B pertain to HAMPMIN = fHxA + B 13 Compute HAMPMINx256 = [12]-[11] a substraction is performed because "A" factor is always negative in practice 14 Compute [8]-[13] and store it : this is the numerator x256 of the formula in Figure 23 15 Compute fHx256 = 1000x256x256/(Tx256), the result is in kHzx256 16 Load "Ax100" multiplier from COEFF2A Rom Table, compute [15]x(A*100) 17 Compute [16]/(100x256) and store it 18 Load "Bx256" factor from COEFF2B Rom Table A and B pertain to HAMPMAX = fHxA + B 19 Compute HAMPMAX = [18]-[17] 20 Compute HAMPMAX-HAMPMIN = [19]-([13]/256) : this is the denominator of the formula in Figure 23 21 Compute HSIZE = [14] / [20] There is no need to multiply HSIZE by HSIZEMAX (=255) because [14] is already x256 22 Compare HSIZE against maximum setting value (255) : if greater, use 255 instead 23 Send HSIZE setting to the deflection circuitry through PWM output DA2
30/53
AUTO-SIZING & AUTO-CENTERING
4.5 Vertical autocentering/autosizing (VPOS, VSIZE) 4.5.1 Vertical sawtooth formula The deflection processor used in the SAMPO monitor is the TDA 9109 in which datasheet the vertical ramp equation available on pin 23 is given: Figure 24. TDA9109 VOUT formula ( from datasheet)
V
OUT
=V
POS
+ (V
OSC
-V
DCMID
) x ( 1 + 0.25 x V
AMP
)
Basic Equations In first approximation, the amplitude of the ramp on Pin 23 (VOUT) is: VOUT - VPOS = (VOSC - VDCMID) . (1 + 0.25 (VAMP)) where: VDCMID = 7/16 VREF (middle value of the ramp on Pin 22, typically 3.5V) VOSC = V22 (ramp with fixed amplitude) VAMP = -1 for minimum vertical amplitude register value and +1 for maximum VPOS is calculated by: VPOS = VDCMID + 0.3 VP where VP = -1 for minimum vertical position register value and +1 for maximum.
Note : All additional correction factors, like "Vertical S Linearity" and "Vertical C Linearity", cannot be taken into account by such a simple formula. However, in practice, this gave pretty good results, because the correction factors represent less than 4% of the final VOUT result.
VAMP and VPOS are controlled by "Vertical Size" (amplitude of the curve) and "Vertical Position DC Control" (DC offset of the curve) parameters respectively. The above formula is then simplified into a simple ramp-down slope defined by VAMP and VPOS:
V
OUT
=V
OUTDC
+V
AMP
x ( 0.5 - x )
This formula represents the simplest description of the sawtooth output curve. It is also simple to implemente in assembly language in a microcontroller.
Note:The gain has been inverted ("0.5-x" instead of "x-0.5") to show the further inversion by the vertical booster driver circuit. This gives a ramp-down curve following the electron beam.
31/53
AUTO-SIZING & AUTO-CENTERING
Parameter "x" varies linearly as the raster scans the tx = -- with x = [ 0...1 ] screen, from 0 (top of the screen) to 1 (bottom of the T screen). "t" is the time elapsed from the top of the screen, "T" is the vertical period (Tv) : the X-axis no more depends on time but always ranges from 0 to 1. All computations are simplified and the formula depends on a unique parameter (no unit). Figure 25. VOUT simplified sawtooth
top
VOUT
screen
raster scan bottom screen t (time) 0 Tv 1 x (ratio)
0
This formula can be used once a relationship is established between VPOS and VAMP and the corresponding registers values, adjusted by means of I 2C commands (as shown in the following extract from TDA 9209 datasheet). 4.5.2 VSIZE setting VAMP (i.e. VSIZE) is the parameter setting the vertical size of the displayed picture. It is controlled by means of I2C commands ( sub-address 05 h). VSIZE value varies between 00 h (minimum amplitude of 2.25V) and 7F h (maximum amplitude of 3.75V). Given this, the VAMP (from VOUT formula) derives from VSIZE as follows:
V SIZE ----------------------------V AMP = 2.25 + 1.5 x V SIZEMAX
n n
When VSIZE = 0 : VAMP = 2.25V When VSIZE = VSIZEMAX (7Fh) : VAMP = 3.75V
32/53
AUTO-SIZING & AUTO-CENTERING
4.5.3 VPOS setting VOUTDC (i.e. VPOS) is the parameter setting the vertical position of the displayed picture. It is controlled by means of I2C commands (sub-address 06 h). VPOS value varies between 00 h (minimum offset of 3.2V) and 7Fh (maximum offset of 3.8V). Given this, the VOUTDC derives from VPOS as follows :
V POS VOUTDC = 3.2 + 0.6 x ---------------------------V POSMAX
n n
When VPOS = 0, VOUTDC = 3.2V When VPOS = VPOSMAX (7Fh), VOUTDC = 3.8V
Figure 26. VSIZE and VPOS settings (TDA 9209)
Function Sub Address Pin Byte Specification VOUTDC 10000000
2.25V
Vertical Size
05
23 11111111 VOUTDC
3.75V
Vertical Position DC Control
x0000000 06 23 x1000000 x1111111
VOUTDC = 3.2V VOUTDC = 3.5V VOUTDC = 3.8V
4.5.4 Complete vertical formula Considering all previous formulae VOUT is expressed as:
VPOS VSIZE t V = (3.2 + 0.6 ---------------------------- ) + (2.25 +1.5 ----------------------------- ) * (0.5- -- ) VPOSMAX VSIZEMAX T
4.5.5 Reference timing The above formula only describes the sawtooth output curve after the vertical booster stage. There is no indication about how the picture is to be centered or optimized in size.
33/53
AUTO-SIZING & AUTO-CENTERING
For example, there is no guarantee that the picture is centered at t=T/2. Actually, the real displayed picture might be shifted along the ramp-down curve where the center of the screen does not necessarily match the center of the curve. Therefore, the adjusment is used as a comparison between a known, well adjusted picture, and a new picture that needs adjusting. The first picture considered as a reference, sets the top and aligment "marks" on the screen: those marks are not identified in space but in voltage, as a result from the previous VOUT formula. As reference for the first picture, we chose the timing #19 (VGA720X400-7) from pattern generator Chroma 2250:
n n
Horizontal : fH = 31.469kHz, T = 31.777s Vertical : fV = 70.087Hz, T = 14.268ms, T1 AV = 1.207ms, T2AV = 0.445ms, Td = 12.616ms
This reference timing is used to compute all the constants used in the formulae for HSIZE, VPOS and VSIZE. The second unknown picture is then adjusted so that its top and bottom lines match the first picture ones in terms of voltage. When those 2 conditions are met, the second picture is assumed to be centered and sized precisely like the first reference picture. This means stretching the 2nd picture along the vertical sawtooth. Figure 27. Reference and unknown pictures VOUT V(T1/T) = V(T1'/T') reference picture
adjust unknown picture V(T2/T) = V(T2'/T') T1 0 0 T1' T2' T2 T,T' 1 t, t' (time) x (ratio)
T and T' can be different, but x always ranges from 0 to 1.
34/53
AUTO-SIZING & AUTO-CENTERING
This leads to two more equations: TOP OF THE SCREEN: Both picture voltages must be equal after the top black border of the picture. This occurs at t=T1 (first reference picture) and t=T1' (second unknown picture), as shown in . BOTTOM OF THE SCREEN: Both picture voltages should be equal before the bottom black border of the picture. This occurs at t=T2 (first reference picture) and t=T2' (second unknown picture), as shown in Figure 6.Vertical Sawtooth on page 9.
T1 T1' V ----- = V ------ T T'
T2 T2' V ----- = V ------- T T'
Important Note : T1 and T2 are measured through the TMU cell, by using an AV signal similar to the one shown in Figure 7.External AV Signal Generated over one Horizontal Line on page 10. However, if T1 is measured as shown in figure 7 (T1=T1AV), T2 differs from what was previously settled. T2 is the time between the beginning of the screen and the bottom black border of the picture. In the present case, T2 (used in all the equations) becomes T2 = T T2AV (T1AV and T2 AV being returned by the TMU cell).
Solving this 2-equation system leads to the following formulae where the new VPOS and VSIZE adjustment values for the unknown second picture are determined, from the first picture reference settings: NEW VSIZE VALUE:
Td x T' 3 1 VSIZE = -- ( 3 x V SIZEMAX + 2 x VSIZE ) ---------------- - -- V SIZEMAX Td' x T 2 2
Td is the time of the displayed picture :
n
Td = ( T2 - T1 )
and
Td' = ( T2' - T1')
NEW VPOS VALUE :
VPOS = VPOS + ( a - b )
..with :
V SIZE V POSMAX ----------------------------- x 1 - T1 x ----------------------------- ----a = 2.25 + 1.5 V SIZEMAX 2 T 0.6
35/53
AUTO-SIZING & AUTO-CENTERING
.. and :
V SIZE 1 T1' VPOSMAX b = 2.25 + 1.5 ------------------------------- x -- - ------ x ---------------------------V SIZEMAX 2 T' 0.6
n n n
VSIZE, VPOS, T1, T2, Td and T all refer to the first reference picture. VSIZE', VPOS', T1', T2', Td' and T' all refer to the second unknown picture. Constant values VSIZEMAX and VPOSMAX are the maximum reachable value for each respective parameter. For the SAMPO monitor, VSIZEMAX = VPOSMAX = 127.
4.5.6 Operating mode The computations require a reference picture. The adjustment is performed in several steps :
n
First, a given picture is chosen and taken as reference for all future adjustments. This picture is then adjusted carefully, either visually or by any other possible means, so that its centering and sizing fit best with the display area. - The corresponding values for VPOS VSIZE T1 T2 and T are then kept as reference and used in all fomulas.
Note : It is recommended to store these values as constants (by #define or else) within the S/W.
n
Next, whenever a new picture is displayed and requires to be adjusted, the new values of T1' T2' and T' are measured through the TMU cell, and VPOS' and VSIZE' values result from the computation of the above parameters, according to the previously established formulae. Finally, the deflection processor is updated with those new VPOS' and VSIZE' values: the new picture is nicely adjusted vertically.
n
Note: In case of overflow: newly computed VSIZE' value exceeding the maximum value that the deflection processor accepts for this setting, the real value and not the rounded one for VSIZE' is used in VPOS' formula. Using the rounded VSIZE' value would lead to a wrong VPOS' value.
4.5.7 Integer formulas Both VPOS and VSIZE formulae are fairly simple (using the 4 basic operators) but the figures "as is" are of floating type, not integer. Floating numbers are difficult to handle in assembly language. Therefore, a little bit of scaling is needed to facilitate some formulae implementation.
36/53
AUTO-SIZING & AUTO-CENTERING
Considering VSIZEMAX = 127 (rounded up to 128 with a base-2 number), VSIZE' is rewritten as follows :
Td x T' VSIZE' = ---------------- x ( VSIZE + 192 ) - 192 Td' x T
The same method applies for VPOS' with VPOSMAX = 127 (rounded up to 128) :
VPOS'= VPOS + ( a - b ) 5 T - 2T1 a = -- x ( 192 + VSIZE ) x ------------------ T 4 5 T' - 2T1' b = -- x ( 192 + VSIZE') x -------------------- 4 T'
Every computation is now based on integer numbers (instead of floating previously).
37/53
AUTO-SIZING & AUTO-CENTERING
4.5.8 Software implementation The same remarks about computation as in previous Section 4.4.8 apply here.
Note: Values concerning the reference picture are underlined.
The current implementation for VSIZE is: 1 2 3 4 5 6 7 8 9 Compute T' x Td Compute (T' x Td) / T, then store it Compute ((T' x Td) / T) x VSIZE, then store it Recall [2] then compute ((T' x Td) / T) x 192 Add [3] plus [4] then store it Compute Td' = T' - (T'1+T'2), T'1 and T'2 returned by TMU cell, T' given by syncpro Divide [5] by [6] Compute [7] - 192: this gives VSIZE' Compare VSIZE' against maximum setting value (127): if greater, use 127 instead
10 Send VSIZE' setting to the deflection processor through I2C commands The implementation for VPOS is then: 11 Compute T' - 2T'1 12 Compute 192 + [8] 13 Compute [10] x [11] 14 Compute 5 x [12] 15 Divide [13] by 4 16 Divide [14] by T' 17 Compute CVSIZEREF - [15]: this gives VPOS'
Note : CVSIZEREF = VPOS + 5/4 x (192+VSIZE) x (T - 2T1) / T
18 Compare VPOS' against maximum setting value (127): if greater, use 127 instead 19 Send VPOS' setting to the deflection processor through I2C commands
38/53
AUTO-SIZING & AUTO-CENTERING
5 SET-UP & MEASUREMENTS INSIDE THE MONITOR
The parameters required to implement each separate autoadjustment parameter are now reviewed. 5.1 Horizontal centering (HPOS) This first algorithm does not require any specific set-up or measurement in the monitor. To help the user understand each possible case as described in Section 4.3.1.3 and Section 4.3.1.4, the following screenshots have been taken on a digital oscilloscope:
n
Top green curve is the Active Video signal, generated by the TDA 9209 pin 8 and fed into the ST72774 pin 2 Center yellow curve is the HFlyback signal, from the deflection stage (collector pin of transistor Q704 in SAMPO chassis), later sharpened then fed into the ST72774 pin 25 Bottom blue curve is the positive HSYNCO signal, delivered by the ST72774 pin 21
n
n
5.1.1 The picture is shifted too far to the left This extreme case is obtained by setting HPOS = 0 in the monitor menu. This gives T1AV < T2AV. On the screenshot, the rising edge of AV signal actually occurs much before the falling edge of HFlyback : T1AV = 1, as described in Section 3.4 and on Figure 10.
5.1.2 The picture is shifted too far to the right This extreme case is obtained by setting HPOS = 100 in the monitor menu. This gives T1AV > T2AV. On the screenshot, the falling edge of AV signal actually occurs much after the next rising edge of HFlyback : T2AV = 1 (the actual returned value depends on the TMU cell version) as described in Section 3.4 and on Figure 10.
39/53
AUTO-SIZING & AUTO-CENTERING
Important Note : As shown on those two screenshots, the HSYNC signal remains in sync with the Active Video signal while HPOS setting changes. Only HFBACK shifts. This is the reason why selecting HSYNC as reference signal for TMU measurements is useless for HPOS algorithm. HFBACK should be used instead.
5.1.3 The picture is perfectly centered This case is obtained once the horizontal centering algorithm has run (either from Section 4.3.1 or from Section 4.3.2). The final value corresponding to the centered HPOS setting strongly depends on which video mode is displayed. This gives T1AV = T2AV.
5.2 Horizontal sizing (HSIZE) This algorithm requires many complex measurements. To proceed to these measurements, a clip-on current probe (e.g. 10mV/A sensitivity) is clipped onto one of the two wires running from the main PCB to the horizontal deflection yoke. The way the probe is clipped on and which wire is chosen only affects the sign of the curve. It is however advised to get a positive ramp-up current curve on the scope, to match the screenshots below and in Figure 21. The following screenshots have been taken on a digital oscilloscope with a perfectly centered picture (HPOS already adjusted) :
n
Top green curve is the Active Video signal, generated by the TDA 9209 pin 8 and fed into the ST72774 pin 2 First Center yellow curve is the HFlyback signal, from the deflection stage (collector pin of transistor Q704 in SAMPO chassis), later sharpened then fed into the ST72774 pin 25 Second Center white curve is the deflection ramp-up current signal going through the horizontal yoke (the S-correction capacitors give this slight "S" shape to the curve) Bottom blue curve is the positive HSYNCO signal, delivered by the ST72774 pin 21
n
n
n
40/53
AUTO-SIZING & AUTO-CENTERING
5.2.1 Measurement presets The East-West circuitry (transistor Q719 on SAMPO chassis) controls the horizontal size. Several corrections like pin-cushion, pin balance and trapezoid settings, are applied to this circuitry to fine-tune the horizontal size in a line-by-line basis, and as the raster sweeps the entire display area from top of CRT to bottom. Due to the above-listed corrections, the overall current amplitude varies from one line to another. Therefore, the settings must be first reset to ensure that the horizontal current curve will remain constant for all the lines across the entire display area. The following values should be set on the SAMPO monitor via the OSD menu, prior to making any measurement:
n n n
PINCUSHION = 0 PINBALANCE = 50 TRAPEZOID = 50
Note: Once set, the values generate unadjusted left and right borders, leading to a strongly distorted picture. This is just temporary, while measurements are performed. The original values must be restored once all measurements have been made.
5.2.2 Current-amplitude measurements Each min/max measurement is generally made of 5 steps : 1 2 3 Generate and display the reference video timing as described in Section 4.5.5 Preset PINCUSHION, PINBALANCE and TRAPEZOID settings as described above Measure the maximum absolute positive value at the top of the HAMP curve, 200ns before HFlyback rises; these 200ns are the real threshold at which the ST72774 input HFBACK senses the high level (VIH) of the HFlyback pulse, in addition to a margin in order to filter out noise and ringing on the signal Measure the minimum absolute negative value at the bottom of the HAMP curve, 400ns after HFlyback stops decreasing; these 400ns are the real threshold at which the ST72774 input HFBACK senses the low level (VIL) of the HFlyback pulse, in addition to a margin in order to filter out noise and ringing on the signal Compute 3- minus 4- : this gives the absolute overall amplitude of the current curve
4
5
5.2.3 Amplitude-measurement of AVopti Here is an example of AVopti measurement, AVopti being the constant reference-parameter used to compute all horizontal sizes for all video modes, as described in Section 4.4.3. The monitor is now assumed to be ready, and Steps 1 and 2 have been conducted. HSIZE setting is manually adjusted until the displayed line at the center of the screen scans the entire
41/53
AUTO-SIZING & AUTO-CENTERING
display area from left to right, leaving no black borders. Picture is now assumed to be perfectly fitted both in position and size. The curve shown on screenshot of Section 5.2 is now zoomed on both horizontal and vertical axis, to focus on the top of the rising edge of the HFlyback signal. The amplitude of the HAMP signal is then measured when the Active Video signal falls, where the red circle is drawn, along the red dotted line : this is the right border of the picture, and the maximum value for HAMP. In this case, the reading is 747mV. In a similar way, the amplitude of the HAMP signal is then measured when the Active Video signal rises : this is the left border of the picture, and the minimum value for HAMP. In this case, the reading is -773mV. This gives a final value of HAMP opti = 747 - (-773) = 1520mV, hence AVopti = HAMP opti / 2.8 = 542.
Note: This value strongly depends on the current probe used for all measurements, as well as the horizontal deflection circuitry itself. However, the measured value should not change much between similar monitors (same production line model).
5.2.4 Measurements of HAMPMIN and HAMPMAX As explained in Section 4.4.1, two curves are determined for each range of frequencies depending on which S-capacitors are turned off and on :
n n
HAMPMIN = f(fH) at minimum HSIZE=0 HAMPMAX = f(fH) at maximum HSIZE=100
In the case of SAMPO monitor, there are 9 ranges of horizontal frequencies but only 7 were fully measured (because as horizontal frequency increases, the width of HFBACK pulse no longer remains constant and has a bigger influence in HSIZE formula). This makes a total of 14 curves to determine, 7 for HAMPMIN and 7 for HAMPMAX. The most precise extrapolation of the equation for each curve is obtained with several measurements of HAMPMIN and HAMPMAX at different frequencies within the same range. A cross chart is established, giving HAMP MIN and HAMP MAX in function of fH. Then a linear extrapolation is performed on all those data, ultimately leading to respectively one formula for HAMPMIN and HAMPMAX at each frequency range.
42/53
AUTO-SIZING & AUTO-CENTERING
Each min/max measurement is made exactly the same way as when measuring AVopti (Section 5.2.3), except that the displayed video mode changes (all valid horizontal frequencies are swept). For HAMPMIN :
n
Preset PINCUSHION, PINBALANCE and TRAPEZOID settings as described in Section 5.2.1 Set HSIZE setting to 0 (smallest picture) Enlarge the picture on the scope to zoom onto the falling edge of HFlyback : this is the leftmost border of the display area Read, along the orange dotted line, the value of the current curve amplitude 400ns after the HFlyback curve reaches its minimum (red circle)
n n
n
In this case, HAMPMIN = -845mV
For HAMPMAX :
n
Preset PINCUSHION, PINBALANCE and TRAPEZOID settings as described in Section 5.2.1 Set HSIZE setting to 100 (largest picture) Enlarge the picture on the scope to zoom onto the rising edge of HFlyback : this is the rightmost border of the display area Read, along the orange dotted line, the value of the current curve amplitude 200ns before the HFlyback curve starts to increase (red circle)
n n
n
In this case, HAMPMAX = 795mV This gives a couple of values (fH, HAMP MIN) and (fH, HAMPMAX) at a given fH horizontal frequency. The above steps must be repeated for all the valid horizontal frequencies. Refer to Section 7(ANNEX) for the 14 curves specific to the SAMPO monitor.
Note : There is no need to take too many values for fH. A step of 1kHz and/or 5 values per range of frequencies (the extreme 2, and 3 more in between) is sufficient to extrapolate the linear curves.
43/53
AUTO-SIZING & AUTO-CENTERING
5.3 Vertical centering/sizing (VPOS/VSIZE) This algorithm needs no measurements inside the monitor, because reference values for VSIZE and VPOS are used to compute new VSIZE' and VPOS' values for any other video mode. To help the user understand what is described in Section 2.3 and Figure 6, the following screenshot has been taken on a digital oscilloscope :
n
Top green curve is the Active Video signal, generated by the TDA 9209 pin 8 and fed into the ST72774 pin 2; it remains low at the top and the bottom of the picture, where only black remains.
Note : This AV signal is not constant. It is made of several smaller signals as each line is scanned across the screen. There are too many lines to be able to separate them.
n
Center white curve is the Vertical deflection signal, from the vertical deflection circuitry (VOUT pin 23 of TDA 9109 chip). The effect of S-correction is notably smaller than on the horizontal deflection curve Bottom blue curve is the positive VSYNCO signal, delivered by the ST72774 pin 20
n
44/53
AUTO-SIZING & AUTO-CENTERING
6 END-USER INTERFACE : FINAL TIPS AND FINE-TUNING
6.1 Pictures that work best As described in Section 4.2, the "RECALL" key up-front has been rerouted to start all the auto-adjustment algorithms previously described. While the autoadjustment starts, the message "AUTOADJUSTMENT IN PROGRESS" is displayed. In case of one of the 4 adjustments cannot be performed, a message "AUTOADJUSTMENT FAILED" is displayed for 3 seconds, then normal operation resumes. Usually, the algorithm(s) fail(s) for various possible reasons previously detailed in this same document. A main restriction comes from the Active Video generator TDA 9209, as it cannot proceed with video modes which pixel clock is higher than 100MHz (refer to datasheet, parameter PixAV minimum pixel width = 10ns typ.). This means that any transition between non-black and black levels in a time shorter than 10ns cannot be sensed, and the AV signal does not change. This is the reason why certain highresolution pictures, surrounded by a very thin non-black rectangle, will make the autoadjustment procedure fail: outer lines of a few pixels in width may not be sensed properly. One solution for nearly always successful trials is to display a picture with large non-black borders that delimit sharply the black borders from the real picture. A picture with a full blue background, for example, gives excellent results. 6.2 End-user fine-tuning All these algorithms involve that constant values are measured and/or computed from a reference video mode, generated by a pattern generator (refer to Section 4.5.5). These constants are:
n n n n
AVopti VPOS VSIZE CVSIZEREF (computed from VPOS and VSIZE above)
In practice, these constants are slightly adjusted between monitor displays of the same model, due to uneven factory adjustments (such as spot beam centering). For example, one screen displayed a perfectly centered picture when another displayed a slightly shifted picture.
45/53
AUTO-SIZING & AUTO-CENTERING
To avoid customizing these constants inside the S/W for each screen (which is tedious and definitely not convenient), the decision was made to implement a new OSD menu to allow the user to :
n n
freely adjust AVopti, VPOS and VSIZE recalculate CVSIZEREF from VPOS and VSIZE above
Important Note : For these adjustments, the reference mode #19 (refer to Section 4.5.5) must be displayed as all computations are based on it.
The rerouted OSD-menu-feature is the former "RECALL" icon, one step below the "EXIT" icon (this is 1 anticlockwise-step of the rotary knob). It displays "SETUP TMU", then, when clicking on the rotary knob, brings an autoadjustment-dedicated submenu.
SETUP TMU DISPLAY MODE 19 STORING VPOS-VSIZE - HAMP OPTI + XXXh
A second click on the rotary knob leaves this submenu and stores the adjusted parameters into the monitor EEPROM memory for later use.
Caution : This adjustment must be done once, at least, and always after the very first power-on because the existing SAMPO S/W defaults the entire EEPROM contents to 00h.
46/53
AUTO-SIZING & AUTO-CENTERING
6.2.1 Optimum HAMP size In the OSD submenu, the user adjusts HAMP opti (= AVopti / 2.8) freely between 000h and FFFh in hexadecimal value, by rotating the knob (step 7- in Section 4.5.8.). This parameter is directly proportional to the final HSIZE of the adjusted displayed picture: the smaller the value, the shrinker the picture. As a reminder, the original value is A Vopti = 1130 (refer to Section 4.4.3), hence HAMP opti = AVopti / 2.8 = 193h. The value is directly measured in the monitor as described in Section 5.2.3. By slightly adjusting HAMP opti, the best fitted picture in horizontal size is obtained.
Note : The new parameter value is valid only for the next autoadjustment routines. It does not change the present horizontal size "visually" (while being modified).
Caution : It is not recommended, although possible, to deviate too far from the nominal measured value, as the resulting computed HSIZE will not be quite as expected.
6.2.2 Optimum VPOS and VSIZE As previously described for HAMP, VPOS and VSIZE reference values are used to give the best fitted picture in both vertical centering and sizing. If the adjusted picture deviates from its optimum center position and/or vertical size, new VPOS and VSIZE reference parameters are stored: 1 2 3 4 5 6 7 8 Display the reference video mode #19 (for Chroma processor series) Perform the autoadjustment once by pressing the "RECALL" key upfront Bring the main OSD menu by clicking on the rotary knob Select V-POSITION icon (the rightmost on the upper line) Adjust the vertical position to best center the picture Select V-SIZE icon (the top first on the rightmost line) Adjust the vertical size to best fit the picture with the screen Select the former RECALL icon, to bring the SETUP TMU submenu (see Section 6.2.1). Just by entering the SETUP TMU submenu, both VPOS and VSIZE values are stored into the EEPROM. Exit this submenu
9
The new parameter values are valid effect only for the next autoadjustment routines. Further autoadjustments also recalculate the CVSIZEREF constant parameter, using the above values stored as reference.
47/53
AUTO-SIZING & AUTO-CENTERING
7 ANNEX
The 14 curves pertaining to the 7 ranges of horizontal frequencies for the SAMPO monitor are now provided. Each curves shows on its 2 axis :
n n
X axis : horizontal frequency fH (x1kHz) Y axis : HAMP opti (x10mV/A)
Each green dot is a couple (fH, HAMP opti) within the same range of horizontal frequencies The resulting linear equation expresses HAMP opti in function of fH. The provided linear regression factor R is always very close to 1, which means that the linear extrapolation is near perfect (very close to a straight line) except for range fH between 31kHz and 34kHz due to the too few measurements available (it was not so easy on the Chroma processor to generate video modes with horizontal frequency sub-step of 0.5kHz instead of 1kHz) For each range of horizontal frequencies, the top curve is for HAMPMIN (HSIZE=0), and the bottom curve is for HAMPMAX (HSIZE=100).
48/53
AUTO-SIZING & AUTO-CENTERING
Figure 28. HAMP opti = f(fH) for fH between 31kHz and 34kHz
1085 1080 1075 1070 1065 30 32 y = -8.1043x + 1337.4 R2 = 0.9321
1265 1260 1255 1250 1245 31 32 33 34 Line ar (XY (Scatte r) 1)
XY (Scatte r) 1 Line ar (XY (Scatte r) 1) 34
XY (Scatte r) 1
y = -7.8095x + 1503.5 R2 = 0.8627
Figure 29. HAMP opti = f(fH) for fH between 34 and 40.6kHz
1085 1080 1075 1070 1065 1060 1055 1050 34 39 y = -5.22x + 1265.1 R2 = 0.9979 XY (Scatte r) 1 Lin e ar (XY (Scatte r) 1)
1270 1260 1250 1240 1230 34 39 y = -4.9429x + 1438.3 R2 = 0.9997
XY (Scatte r) 1 Lin e ar (XY (Scatte r) 1)
49/53
AUTO-SIZING & AUTO-CENTERING
Figure 30. HAMP opti = f(fH) for fH between 40.6kHz and 44kHz
1060 1055 1050 1045 1040 40 42 y = -5.0514x + 1265 R2 = 0.9991
1245 1240 1235 1230 1225 40 42 y = -5.2343x + 1456.3 R2 = 0.9996 44 L in e ar (XY (Scatte r) 1)
XY (Scatte r) 1 L in e ar (XY (Scatte r) 1) 44
XY (Scatte r) 1
Figure 31. HAMP opti = f(fH) for fH between 44kHz and 59.25kHz
1 08 0 1 06 0 1 04 0 1 02 0 1 00 0 44 49 54 L in e a r (X Y ( Sc at te r ) 1) XY ( Sc at te r ) 1
y = -5.3911x + 1313.5 R2 = 0.9995
1280 1260 1240 1220 1200 1180 44 49 54 y = -5.8268x + 1527.6 R2 = 0.9999
XY (Scatte r) 1 L in e ar (XY (Scatte r) 1)
50/53
AUTO-SIZING & AUTO-CENTERING
Figure 32. HAMP opti = f(fH) for fH between 59.25kHz and 68kHz
1020 1010 1000 990 980 970 60 65 y = -5.8643x + 1372.6 R2 = 0.9997 XY (Scatte r) 1 L in e ar (XY (Scatte r) 1)
1 21 0 1 20 0 1 19 0 1 18 0 1 17 0 1 16 0 60 65 y = -6.575x + 1608.9 R2 = 0.9996
XY ( Sc at te r ) 1 L in e a r (X Y ( Sc at te r ) 1)
Figure 33. HAMP opti = f(fH) for fH between 68kHz and 73.25kHz
1000 995 990 985 980 975 68 70 72 y = -4.07x + 1277.4 R2 = 0.9972
1 19 0 1 18 5 1 18 0 1 17 5 1 17 0 1 16 5 1 16 0 68 70 72 74
XY (Scatte r) 1 L in e ar (XY (Scatte r) 1) 74
XY ( Sc at te r ) 1 L in e a r (X Y ( Sc at te r ) 1)
y = -5.69x + 1578.7 R2 = 0.9998
51/53
AUTO-SIZING & AUTO-CENTERING
Figure 34. HAMP opti = f(fH) for fH between 73.25kHz and 89.25kHz
1020 1000 980 960 940 920 73 83 y = -5.0637x + 1389.2 R2 = 0.9989 XY (Scatte r) 1 L in e ar (XY (Scatte r) 1)
1 22 0 1 20 0 1 18 0 1 16 0 1 14 0 1 12 0 1 10 0 1 08 0 73 83 y = -6.9125x + 1713.3 R 2 = 0.9996
XY ( Sc at te r ) 1 L in e a r (X Y ( Sc at te r ) 1)
Note : As written in Section 5.2.4, the last 2 ranges of horizontal frequencies (89..95kHz and beyond 95kHz) were not measured.
52/53
"THE PRESENT NOTE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH A NOTE AND/OR THE USE MADE BY CUSTOMERS OF THE INFORMATION CONTAINED HEREIN IN CONNEXION WITH THEIR PRODUCTS."
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a trademark of STMicroelectronics. (c) 2001 STMicroelectronics - All Rights Reserved Purchase of I2C Components of STMicroelectronics, conveys a license under the Philips I2C Patent. Rights to use these components in a I2C system, is granted provided that the system conforms to the I2C Standard Specifications as defined by Philips. STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com
53/53
3


▲Up To Search▲   

 
Price & Availability of AN1183

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X